package com.wx.model.base;

import com.eachonline.model.BaseModel;
import java.io.Serializable;
import java.util.Date;

public class BaseIxbCourseDetail extends BaseModel implements Serializable {
    private String courseTitle;

    private String courseIntro;

    private String levelOneCourseType;

    private String levelTwoCourseType;

    private Integer coursePeriods;

    private Double coursePrice;

    private Integer salesVolume;

    private Integer targetSalesVolume;

    private Integer visitVolume;

    private Date endTime;

    private String isFinish;

    private String isActivity;

    private String publisherId;

    private String isOnline;

    private Date createTime;

    private String contactTelephone;

    private String comment;

    private String isUse;

    private Double discount;

    private Integer starLevel;

    private Integer commentNum;

    private Integer collectNum;

    private String courseDetail;

    private static final long serialVersionUID = 1L;

    public String getCourseTitle() {
        return courseTitle;
    }

    public void setCourseTitle(String courseTitle) {
        this.courseTitle = courseTitle == null ? null : courseTitle.trim();
    }

    public String getCourseIntro() {
        return courseIntro;
    }

    public void setCourseIntro(String courseIntro) {
        this.courseIntro = courseIntro == null ? null : courseIntro.trim();
    }

    public String getLevelOneCourseType() {
        return levelOneCourseType;
    }

    public void setLevelOneCourseType(String levelOneCourseType) {
        this.levelOneCourseType = levelOneCourseType == null ? null : levelOneCourseType.trim();
    }

    public String getLevelTwoCourseType() {
        return levelTwoCourseType;
    }

    public void setLevelTwoCourseType(String levelTwoCourseType) {
        this.levelTwoCourseType = levelTwoCourseType == null ? null : levelTwoCourseType.trim();
    }

    public Integer getCoursePeriods() {
        return coursePeriods;
    }

    public void setCoursePeriods(Integer coursePeriods) {
        this.coursePeriods = coursePeriods;
    }

    public Double getCoursePrice() {
        return coursePrice;
    }

    public void setCoursePrice(Double coursePrice) {
        this.coursePrice = coursePrice;
    }

    public Integer getSalesVolume() {
        return salesVolume;
    }

    public void setSalesVolume(Integer salesVolume) {
        this.salesVolume = salesVolume;
    }

    public Integer getTargetSalesVolume() {
        return targetSalesVolume;
    }

    public void setTargetSalesVolume(Integer targetSalesVolume) {
        this.targetSalesVolume = targetSalesVolume;
    }

    public Integer getVisitVolume() {
        return visitVolume;
    }

    public void setVisitVolume(Integer visitVolume) {
        this.visitVolume = visitVolume;
    }

    public Date getEndTime() {
        return endTime;
    }

    public void setEndTime(Date endTime) {
        this.endTime = endTime;
    }

    public String getIsFinish() {
        return isFinish;
    }

    public void setIsFinish(String isFinish) {
        this.isFinish = isFinish == null ? null : isFinish.trim();
    }

    public String getIsActivity() {
        return isActivity;
    }

    public void setIsActivity(String isActivity) {
        this.isActivity = isActivity == null ? null : isActivity.trim();
    }

    public String getPublisherId() {
        return publisherId;
    }

    public void setPublisherId(String publisherId) {
        this.publisherId = publisherId == null ? null : publisherId.trim();
    }

    public String getIsOnline() {
        return isOnline;
    }

    public void setIsOnline(String isOnline) {
        this.isOnline = isOnline == null ? null : isOnline.trim();
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getContactTelephone() {
        return contactTelephone;
    }

    public void setContactTelephone(String contactTelephone) {
        this.contactTelephone = contactTelephone == null ? null : contactTelephone.trim();
    }

    public String getComment() {
        return comment;
    }

    public void setComment(String comment) {
        this.comment = comment == null ? null : comment.trim();
    }

    public String getIsUse() {
        return isUse;
    }

    public void setIsUse(String isUse) {
        this.isUse = isUse == null ? null : isUse.trim();
    }

    public Double getDiscount() {
        return discount;
    }

    public void setDiscount(Double discount) {
        this.discount = discount;
    }

    public Integer getStarLevel() {
        return starLevel;
    }

    public void setStarLevel(Integer starLevel) {
        this.starLevel = starLevel;
    }

    public Integer getCommentNum() {
        return commentNum;
    }

    public void setCommentNum(Integer commentNum) {
        this.commentNum = commentNum;
    }

    public Integer getCollectNum() {
        return collectNum;
    }

    public void setCollectNum(Integer collectNum) {
        this.collectNum = collectNum;
    }

    public String getCourseDetail() {
        return courseDetail;
    }

    public void setCourseDetail(String courseDetail) {
        this.courseDetail = courseDetail == null ? null : courseDetail.trim();
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", sid=").append(sid);
        sb.append(", courseTitle=").append(courseTitle);
        sb.append(", courseIntro=").append(courseIntro);
        sb.append(", levelOneCourseType=").append(levelOneCourseType);
        sb.append(", levelTwoCourseType=").append(levelTwoCourseType);
        sb.append(", coursePeriods=").append(coursePeriods);
        sb.append(", coursePrice=").append(coursePrice);
        sb.append(", salesVolume=").append(salesVolume);
        sb.append(", targetSalesVolume=").append(targetSalesVolume);
        sb.append(", visitVolume=").append(visitVolume);
        sb.append(", endTime=").append(endTime);
        sb.append(", isFinish=").append(isFinish);
        sb.append(", isActivity=").append(isActivity);
        sb.append(", publisherId=").append(publisherId);
        sb.append(", isOnline=").append(isOnline);
        sb.append(", createTime=").append(createTime);
        sb.append(", contactTelephone=").append(contactTelephone);
        sb.append(", comment=").append(comment);
        sb.append(", isUse=").append(isUse);
        sb.append(", discount=").append(discount);
        sb.append(", starLevel=").append(starLevel);
        sb.append(", commentNum=").append(commentNum);
        sb.append(", collectNum=").append(collectNum);
        sb.append(", courseDetail=").append(courseDetail);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }

    @Override
    public boolean equals(Object that) {
        if (this == that) {
            return true;
        }
        if (that == null) {
            return false;
        }
        if (getClass() != that.getClass()) {
            return false;
        }
        BaseIxbCourseDetail other = (BaseIxbCourseDetail) that;
        return (this.getSid() == null ? other.getSid() == null : this.getSid().equals(other.getSid()));
    }

    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;
        result = prime * result + ((getSid() == null) ? 0 : getSid().hashCode());
        return result;
    }
}